package com.com.knowledgepaymentmanagementsystem.service.marketing.impl;

import com.com.knowledgepaymentmanagementsystem.mapper.marketing.FullMapper;
import com.com.knowledgepaymentmanagementsystem.pojo.marketing.Full;
import com.com.knowledgepaymentmanagementsystem.service.marketing.FullService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author 张攀
 * @version 1.0
 * @description: TODO
 * @date 2025/9/23 下午3:18
 */
@Service
public class FullServiceImpl implements FullService {
    @Autowired
    private FullMapper fullMapper;

    @Override
    public List<Full> getFull(Full full) {
        return fullMapper.getFull(full);
    }

    @Override
    public Object insertFull(Full full) {
        return fullMapper.insert(full);
    }

    @Override
    public void updateFull(Full full) {
        fullMapper.updateById(full);
    }

    @Override
    public void deleteFull(Integer id) {
        fullMapper.deleteById(id);
    }
}
